Simpler\Http\Controllers\ProductController S

Total Complexity 31
Dependencies 8
Dependents 1
Total lines 254
Lines of code 155
Logical lines of code 82
Comment lines 44
Methods 9
Properties 5

Methods 9

Method Rating Maintainability Complexity Lines of code
handle()
A
42 9 56
get_product_objects()
A
51 8 29
attribute_options()
S
54 4 23
products_to_response()
S
57 3 16
attributes()
S
60 3 13
__construct()
S
76 1 4
add_extra_data_to_variation()
S
66 1 8
attribute_key()
S
79 1 3
get_permission_callback()
S
81 1 3